package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 【商城用户】对象 pc_pro_combo
 * 
 * @author ruoyi
 * @date 2022-07-23
 */
@ApiModel(value = "PcProCombo",description = "【商城用户】对象 pc_pro_combo")
public class PcProCombo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品套餐主键 */
    private Long proComboId;

    /** 套餐名称 */
    @ApiModelProperty(value="套餐名称",name="PcProCombo$proComboName")
    @Excel(name = "套餐名称")
    private String proComboName;

    /** 库存数量 */
    @ApiModelProperty(value="库存数量",name="PcProCombo$storageAmount")
    @Excel(name = "库存数量")
    private Long storageAmount;

    /** 已出售数量 */
    @ApiModelProperty(value="已出售数量",name="PcProCombo$sellAmount")
    @Excel(name = "已出售数量")
    private Long sellAmount;

    /** 人民币售价 */
    @ApiModelProperty(value="人民币售价",name="PcProCombo$rmbPrice")
    @Excel(name = "人民币售价")
    private BigDecimal rmbPrice;

    /** 金藻返利率 */
    @ApiModelProperty(value="金藻返利率",name="PcProCombo$returnRate")
    @Excel(name = "金藻返利率")
    private BigDecimal returnRate;

    /** 商品主图 */
    @ApiModelProperty(value="套餐主图",name="PcProCombo$masterImg")
    @Excel(name = "套餐主图")
    private String masterImg;

    /** 商品详情图 */
    @ApiModelProperty(value="套餐详情图",name="PcProCombo$infoImg")
    @Excel(name = "套餐详情图")
    private String infoImg;

    /** 套餐详情图 */
    @ApiModelProperty(value="套餐轮播图",name="PcProCombo$slideImg")
    @Excel(name = "套餐轮播图")
    private String slideImg;

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    /** 逻辑删除 */
    @ApiModelProperty(value="逻辑删除，1删除,0正常",name="PcProCombo$isDelete")
    @Excel(name = "逻辑删除，1删除,0正常")
    private Integer isDelete;

    public Long getSellStatus() {
        return sellStatus;
    }

    public void setSellStatus(Long sellStatus) {
        this.sellStatus = sellStatus;
    }

    /** 上下架状态 */
    @ApiModelProperty(value="上下架状态",name="PcProCombo$sellStatus")
    @Excel(name = "上下架状态")
    private Long sellStatus;

    public Long getShowSort() {
        return showSort;
    }

    public void setShowSort(Long showSort) {
        this.showSort = showSort;
    }

    /** 商品详情图 */
    @ApiModelProperty(value="排序权重",name="PcProCombo$showSort")
    @Excel(name = "排序权重")
    private Long showSort;

    @ApiModelProperty(value="标签",name="PcProCombo$proTag")
    @Excel(name = "标签")
    private String proTag;

    public String getProTag() {
        return proTag;
    }

    public void setProTag(String proTag) {
        this.proTag = proTag;
    }

    public List<PcProduct> getProducts() {
        return products;
    }

    public void setProducts(List<PcProduct> products) {
        this.products = products;
    }

    /** 商品套餐下产品列表 */
    @ApiModelProperty(value="套餐产品列表",name="PcProCombo$products")
    @Excel(name = "套餐产品列表")
    private List<PcProduct> products;

    private BigDecimal returnGold;
    private BigDecimal totalProAmount;

    public BigDecimal getTotalProAmount() {
        return totalProAmount;
    }

    public void setTotalProAmount(BigDecimal totalProAmount) {
        this.totalProAmount = totalProAmount;
    }

    public BigDecimal getReturnGold() {
        return returnGold;
    }

    public void setReturnGold(BigDecimal returnGold) {
        this.returnGold = returnGold;
    }

    public String getMasterImg() {
        return masterImg;
    }

    public void setMasterImg(String masterImg) {
        this.masterImg = masterImg;
    }

    public String getInfoImg() {
        return infoImg;
    }

    public void setInfoImg(String infoImg) {
        this.infoImg = infoImg;
    }

    public String getSlideImg() {
        return slideImg;
    }

    public void setSlideImg(String slideImg) {
        this.slideImg = slideImg;
    }

    public void setProComboId(Long proComboId) 
    {
        this.proComboId = proComboId;
    }

    public Long getProComboId() 
    {
        return proComboId;
    }
    public void setProComboName(String proComboName) 
    {
        this.proComboName = proComboName;
    }

    public String getProComboName() 
    {
        return proComboName;
    }
    public void setStorageAmount(Long storageAmount) 
    {
        this.storageAmount = storageAmount;
    }

    public Long getStorageAmount() 
    {
        return storageAmount;
    }
    public void setSellAmount(Long sellAmount) 
    {
        this.sellAmount = sellAmount;
    }

    public Long getSellAmount() 
    {
        return sellAmount;
    }
    public void setRmbPrice(BigDecimal rmbPrice) 
    {
        this.rmbPrice = rmbPrice;
    }

    public BigDecimal getRmbPrice() 
    {
        return rmbPrice;
    }
    public void setReturnRate(BigDecimal returnRate) 
    {
        this.returnRate = returnRate;
    }

    public BigDecimal getReturnRate() 
    {
        return returnRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("proComboId", getProComboId())
            .append("proComboName", getProComboName())
            .append("storageAmount", getStorageAmount())
            .append("sellAmount", getSellAmount())
            .append("createTime", getCreateTime())
            .append("rmbPrice", getRmbPrice())
            .append("returnRate", getReturnRate())
            .toString();
    }
}
